import ThemeContext from "../../../context/theme-context"

function Test2() {
  return (
    <div>
      <ThemeContext.Consumer>
        {(value) => <h3>函数孙子组件拿App传递值: {value.color}</h3>}
      </ThemeContext.Consumer>
    </div>
  )
}

export default Test2
